<?php
/**
 * Created by PhpStorm.
 * User: dream
 * Date: 2017/10/21
 * Time: 14:10
 */
class MY_Output extends CI_Output
{

    public function __construct()
    {
        parent::__construct();
    }

    public function printApi($data)
    {
        $api_str = json_encode($data);
        echo $api_str;
    }
}